package com.lframework.xingyun.basedata.vo.member;

import com.lframework.starter.web.core.vo.SortPageVo;
import lombok.Data;
import com.lframework.starter.web.core.vo.BaseVo;
import com.lframework.starter.web.core.components.validation.TypeMismatch;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class QueryMemberLevelVo extends SortPageVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 等级
     */
    @ApiModelProperty("等级")
    @TypeMismatch(message = "等级格式有误！")
    private Integer level;

    /**
     * 等级名称
     */
    @ApiModelProperty("等级名称")
    private String levelName;

    /**
     * 升级方式
     */
    @ApiModelProperty("升级方式")
    @TypeMismatch(message = "升级方式格式有误！")
    private Integer upgradeType;

    /**
     * 升级条件
     */
    @ApiModelProperty("升级条件")
    @TypeMismatch(message = "升级条件格式有误！")
    private BigDecimal upgradeCondition;

    /**
     * 升级描述
     */
    @ApiModelProperty("升级描述")
    private String upgradeDesc;

    /**
     * 有效天数
     */
    @ApiModelProperty("有效天数")
    @TypeMismatch(message = "有效天数格式有误！")
    private Integer effectiveDay;

    /**
     * 状态
     */
    @ApiModelProperty("状态")
    @TypeMismatch(message = "状态格式有误！")
    private Boolean available;

}

